package sudoku;

public class SudokuProblem {
	
	public static final int SIZE = 9;
	
	public int[] board = new int[SIZE*SIZE];

	public SudokuProblem(int[][] board)
	{
		for (int i = 0; i < SIZE; i++) {
			for (int j = 0; j < SIZE; j++) {
				this.board[i*SIZE+j] = board[i][j];
			}
		}
	}
	
	public SudokuProblem(int[] board)
	{
		for (int i = 0; i < SIZE*SIZE; i++) {
			this.board[i] = board[i];
		}
	}
	
}
